#-------------------------------------------------
#
# Project created by QtCreator 2018-11-28T13:12:37
#
#-------------------------------------------------

#base total pri
include(../include/common.pri)



#QT_MODE core gui sql network widget
QT       += xml
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

#TYPE  app  lib  sudbibs
TEMPLATE = lib

#TARGET
#TARGET = $$qtLibraryTarget(HMPCore)
TARGET = HMPCore

CONFIG(debug, debug|release) {
    DESTDIR = $${DEST_DIR_D}
}
CONFIG(release, debug|release) {
    DESTDIR = $${DEST_DIR_R}
}

#ASSERTIONS
DEFINES += HCORE_LIBRARY
DEFINES += QT_DEPRECATED_WARNINGS

#INCLUDE_PATH
INCLUDEPATH += $${INCLUDE_DIR}
INCLUDEPATH += $${INCLUDE_DIR}/HMPCore

#dbghelp
win32{
INCLUDEPATH +=
    LIBS += -L./../libs
    LIBS += -ldbghelp
}

#SOURCES_FILE
SOURCES += \
    AbstractFactory.tpp \
    AbstractFileBasedFactory.tpp \
    AbstractLibraryFactory.tpp \
    AbstractObjectFactory.tpp \
    AbstractPluginFactory.tpp \
    AbstractQObjectFactory.tpp \
    BackTrace.cpp \
#    BinaryFileDescriptor.cpp \
    BooleanMapper.cpp \
    Callback.cpp \
    CommandLineParser.cpp \
    CoreTestingUtilities.cpp \
    CoreTestingUtilities.tpp \
    DependencyGraph.cpp \
    ErrorLogAbstractMessageHandler.cpp \
    ErrorLogFDMessageHandler.cpp \
    ErrorLogLevel.cpp \
    ErrorLogQtMessageHandler.cpp \
    ErrorLogStreamMessageHandler.cpp \
    ErrorLogTerminalOutput.cpp \
    Exception.cpp \
    FileLogger.cpp \
    HighPrecisionTimer.cpp \
    LinearValueProxy.cpp \
    Logger.cpp \
    ModelTester.cpp \
    ScopedCurrentDir.cpp \
    SetName.cpp \
    Utils.cpp \
    ValueProxy.cpp \
    Workflow.cpp \
    WorkflowStep.cpp

#HEADERS_FILE
HEADERS += \
        hcore_global.h \ 
    AbstractFactory.h \
    AbstractFileBasedFactory.h \
    AbstractLibraryFactory.h \
    AbstractObjectFactory.h \
    AbstractPluginFactory.h \
    AbstractQObjectFactory.h \
    BackTrace.h \
#    BinaryFileDescriptor.h \
    BooleanMapper.h \
    Callback.h \
    CommandLineParser.h \
#    CompilerDetections_p.h \
#    CorePythonQtDecorators.h \
    CoreTestingMacros.h \
    CoreTestingUtilities.h \
    DependencyGraph.h \
    ErrorLogAbstractMessageHandler.h \
    ErrorLogContext.h \
    ErrorLogFDMessageHandler.h \
    ErrorLogFDMessageHandler_p.h \
    ErrorLogLevel.h \
    ErrorLogQtMessageHandler.h \
    ErrorLogStreamMessageHandler.h \
    ErrorLogTerminalOutput.h \
    Exception.h \
    FileLogger.h \
    HighPrecisionTimer.h \
    LinearValueProxy.h \
    Logger.h \
    ModelTester.h \
    Pimpl.h \
    ScopedCurrentDir.h \
    SetName.h \
    Singleton.h \
    Utils.h \
    ValueProxy.h \
    Workflow.h \
    Workflow_p.h \
    WorkflowStep.h \
    WorkflowStep_p.h \
    WorkflowTransitions.h \
    hcore_global.h \
    ILogger.h


#INSTALLS
unix {
    target.path = /usr/lib
    INSTALLS += target
}
